﻿@model DateTime?
@Html.TextBox("",
                (Model.HasValue ? Model.Value.ToShortDateString() : string.Empty),
                new { @class = "datepicker" })